<?php
/* @var $this TimdoithuController */
/* @var $model Timdoithu */
/* @var $form CActiveForm */
?>

<div class="form">

<?php $form=$this->beginWidget('bootstrap.widgets.TbActiveForm', array(
	'id'=>'timdoithu-form',
	'enableAjaxValidation'=>false,
)); ?>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->textFieldRow($model,'chude',array('size'=>50,'maxlength'=>50)); ?>
	</div>

	<div class="row">
		<?php echo $form->textFieldRow($model,'thoigian',array('size'=>60,'maxlength'=>500)); ?>
	</div>

	<div class="row">
	 <?php echo $form->ckEditorRow($model, 'mota', array('options'=>array('fullpage'=>'js:true', 'width'=>'900', 'resize_maxWidth'=>'640','resize_minWidth'=>'320')));?>
	</div>

	<div class="row buttons">
			<?php $this->widget('bootstrap.widgets.TbButton', array('buttonType'=>'submit', 'label'=>$model->isNewRecord ? 'Thêm' : 'Cập nhật', 'type'=>'success','htmlOptions'=>array('id'=>'submit'))); ?>
	</div>
<?php $this->endWidget(); ?>

</div><!-- form -->